package com.chinaoct.siku.LocalStorage.service;

import com.chinaoct.siku.LocalStorage.config.FileProperties;
import com.chinaoct.siku.LocalStorage.dao.StorageDTO;
import org.springframework.stereotype.Component;

@Component
public class StorageApplication {



    public Boolean checkAuthority(StorageDTO storageDTO) {
        if(null!=storageDTO.getSource() && FileProperties.GZW_SOURCE.equals(storageDTO.getSource())){
            return  false;
        }
        return true;
    }
}
